WP_Defender\Controller\Two_Factor D

Total Complexity 146
Dependencies 20
Dependents 8
Total lines 1,090
Lines of code 726
Logical lines of code 335
Comment lines 268
Methods 36
Properties 5

Methods 36

Method Rating Maintainability Complexity Lines of code
profile_update()
A
43 15 45
verify_otp_login_time()
A
36 12 82
render_otp_screen()
A
38 11 69
show_user_profile()
A
39 10 66
maybe_show_otp_form()
A
49 10 30
verify_otp_for_enabling()
A
46 9 41
__construct()
A
43 8 47
maybe_redirect_to_show_2fa_enabler()
S
53 7 23
send_test_email()
S
41 4 63
handle_woocommerce_prevent_admin_access()
S
57 6 19
filter_users_by_2fa()
S
56 5 19
disable_totp()
S
55 5 18
handle_woocommerce_login_redirect()
S
59 5 15
send_backup_code()
S
53 3 27
alter_user_table_row()
S
62 3 11
save_settings()
S
54 2 24
store_session_key()
S
67 3 7
check_route()
S
77 3 3
generate_backup_codes()
S
58 1 16
to_array()
S
63 2 10
import_data()
S
67 2 8
is_auth_enabled_for_user_role()
S
69 2 6
listen_for_jetpack_option()
S
69 2 7
export_strings()
S
70 2 6
config_strings()
S
72 2 5
data_frontend()
S
59 1 15
enqueue_assets()
S
64 2 10
main_view()
S
81 1 3
m2_no_ajax()
S
82 1 3
menu_suffix()
S
78 1 3
woocommerce_hooks()
S
71 1 5
alter_users_table()
S
69 1 6
remove_settings()
S
81 1 3
redirect_url()
S
79 1 3
add_redirect_to_input()
S
79 1 3
remove_data()
S
72 1 5